package DBLayer.Interfaces;

import java.util.ArrayList;

/**
 *
 * @author Moulde
 */
public interface IContainer<T>
{
    //Returns an object from the container
    public T getObject(int ID);
    //Returns an arraylist with objects from the container
    public ArrayList<T> getObjects();
    //Stores the actor in the container
    public boolean SaveObject(T object);
    //Deletes an actor from the container
    public boolean DeleteObject(T object);
    //Updates an actor in the container
    public boolean UpdateObject(T object);
}
